package com.lzq.online_learning_system.service.impl;

import com.lzq.online_learning_system.model.Sysuser;
import com.lzq.online_learning_system.dao.SysuserMapper;
import com.lzq.online_learning_system.service.SysuserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lzq
 * @since 2019-10-22
 */
@Service
public class SysuserServiceImpl extends ServiceImpl<SysuserMapper, Sysuser> implements SysuserService {

    @Autowired
    SysuserMapper sysuserMapper;
    @Override
    public List<Sysuser> findAll() {
        return sysuserMapper.selectList(null);
    }
}
